/**
 * @author mili
 */

/**
 * Data from Different Categories has different properties
 * So I just separate their access methods
 * */

/**
 * Properties accessed by Category 1
 * */

function getDisplayName(){
	
}

function getHeadLine(){
	
}

function isNewIncident(){
	
}

function getLastUpdateTime(){
	
}

function getMainCategory(){
	
}

function getRoads(properties){
	return properties.roads;
	// You can parse the roads in the next level using RoadJsonParse.js
}


/**
 * Properties accessed by Category 2
 * */

function isActive(properties){
	return properties.isActive;
}

function getTravellingTimeMinutes(properties){
	return properties.travelTimeMinutes;
}

function getDirection(properties){
	return properties.direction;
}

function getFromPlace(properties){
	return properties.fromDisplayName;
}

function getToPlace(properties){
	return properties.toDisplayName;
}

/**
 * This method return the info of the given properties.
 * */
function getPropertyInfo(){
	
}
